<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>

    .box{
        width: 200px;
        height: 200px;
        margin: 100px auto 0;
        /* border: 1px solid black; */
        /* text-align: center; */
        animation: move 3s ease infinite alternate;
                
    }
    .love{
            position: relative;
                left: 52px;
                bottom: 42px;
                width: 100px;
                height: 100px;
                background-color: red;
                transform: rotate(-45deg);

    } 
    .shadow{
        height: 10px;
        width: 100px;
        box-shadow: 0 0 10px 10px gray;
        position: absolute;
        bottom: 100px;
        left: 600px;
        border-radius: 70%;
        background-color: rgba(0, 0, 0, 0.5);
        animation: shadow 3s ease infinite alternate;
    }  
    .love::before{
        content:"" ;
        position: absolute;
        width: 100px;
        height: 100px;
        top: -50px;
        left: 0;
        border-radius: 50%;
        background-color: red;
    }
    .love::after{
        content:"";
        position: absolute;
        width: 100px;
        height: 100px;
        top: 0;
        left: 50px;
        border-radius: 50%;
        background-color: red;
    }

    @keyframes move {
        0%{
            transform: translateY(-30px) scale(0.5);
            opacity: 0.1;
        }
        /* 25%{
            transform: translateY(100px) scale(0.75);
            opacity: 0.3;
            
        } */
        50%{
            transform: translateY(150px) scale(1);
            opacity: 0.6;

        }
        /* 75%{
            transform: translateY(200px) scale(0.75);
            opacity: 0.8;

        } */

        100%{
            transform: translateY(250px) scale(0.5);
            opacity: 1;
        }

    }
    @keyframes shadow{
        0%{
            opacity: 0.1;
        }
        50%{
            opacity: 0.5;
        }
        100%{
            opacity: 1;
        }
    }
</style>
<body>
    <div class="box">
    <div class="love"></div>
    </div>
    <div class="shadow"></div>  

</body>
</html>